<?php
/**
 *
 * Controller.class.php
 * User: kalvin
 * Date: 2018/1/6
 * Time: 上午10:55
 */

namespace Core;


class Controller extends \Smarty
{
    public function __construct()
    {
        parent::__construct();
        $view_dir = APP_DIR . PLATFORM . '/View/' . CONTROLLER;
        $this->setTemplateDir($view_dir);
    }
}